// 专门用于配置路由表
export default [
    {path:'/',redirect:"/index"},
    {path:"/index",component:"@/pages/index"},
    {path:"/shop",component:"@/pages/shop",
        routes:[
            {path:"list",component:"@/pages/components/list",title:"商品列表"},
            {path:"car",component:"@/pages/components/car",title:"商品购物车"},
            {path:"/shop",redirect:"list"}
        ]
    },
]